#ifndef WORLD_H_INCLUDED
#define WORLD_H_INCLUDED

#include "object.h"

#include <vector>

using namespace std;

class World
{
	int w,h,sectors_w, sectors_h;
	double sector_w,sector_h;
	//vector<Object*>* objects;
	vector<Object*>* objects;
public:
	World(const int& width, const int& height, const int& sectors_width,  const int& sectors_height);
	~World();

	void Add_object(Object* new_object);
	void Frame_calculate();
	void Draw(SDL_Surface* screen, const Vect2D& camera_position);
	void Draw_borders(SDL_Surface* screen, const Vect2D& camera_position, int color);

	int Get_number_objects();

};

#endif // WORLD_H_INCLUDED
